$(function(){
	$(".chosen-select,.chosen-multiple-select").chosen({allow_single_deselect:false});	
	$("#categories_input_box .search-field").click(function(){
		$("#categories_input_box .chzn-drop li").each(function(i,el){
			if($(el).hasClass('result-selected')){
				$(el).removeClass('result-selected');
				$(el).addClass('active-result');
			}
		})
	});
});